package com.hbplat.shardingsphere.enumeration.arch;

/**
 * 　　* @description: 属性（1.系统默认、2.自定义）
 * 　　* @param
 * 　　* @return
 * 　　* @throws
 * 　　* @author 陈宇
 * 　　* @date $ $
 *
 */
public enum CatalogueAttributeEnum {

    ONE(1,"系统默认"),
    TWO(2,"自定义"),
    ;

    private final int code;
    private final String desc;


    CatalogueAttributeEnum(int code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public int getCode(){
        return code;
    }
    public String getDesc(){
        return desc;
    }

}
